#ifndef INDICATOR_H
#define INDICATOR_H

#include "StaticAnimation.h"

class Indicator: public StaticAnimation{
private:
    static float timer_limit;
    static float discharge_speed;
    Sprite s;
    Texture t;
    int cur_charge;
    int full_charge;
    int strip_h;
    Clock* timer;

public:
    Indicator(string name);
    void animate(float time);
    void charge();
    bool isDischarge();
    Sprite* getCurrentFrame();
};
#endif // INDICATOR_H
